home *** CD-ROM | disk | FTP | other *** search
- Path: news2.ios.com!usenet
- From: vlad@gramercy.ios.com (Vlastimil Adamovsky)
- Newsgroups: comp.lang.c++
- Subject: Re: Why C++ sucks++
- Date: Sat, 03 Feb 1996 02:58:00 GMT
- Organization: Internet Online Services
- Message-ID: <4euie0$d0u@news2.ios.com>
- References: <1996Jan29.223357.1@aspen> <4eobl2$1sq@news2.ios.com> <4eojgc$d10@masala.cc.uh.edu>
- NNTP-Posting-Host: ppp-66.ts-7.hck.idt.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- Sensarn <txs53132@bayou.uh.edu> wrote:
-
- >>Try this:
- >>
- >>>*** SEASONED PROFESSIONAL ***
- >>#include <iostream.h>
- >>main() { cout << "Hello world\n";}
- >>
- >>*******************************************
- >>* Vlastimil Adamovsky *
- >>* Smalltalk, C++ and Envelop development *
- >>*******************************************
- >>
-
- >Yeah, or this:
-
- >#include <stdio.h>
-
- >void main(void) {printf("\nHello world\n");}
-
- I simply wanted to show advantages of Object oriented programming.
- Indeed, when you use printf you have to know what kind of data you
- want to print. In C++, thanks to overloading, you don't need to.
-
-
-
-
- *******************************************
- * Vlastimil Adamovsky *
- * Smalltalk, C++ and Envelop development *
- *******************************************
-
-